﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Music.Common" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    
  
    <DataTemplate x:Key="NormalTemplate">
        <Grid Width="{Binding TileWidth}" Height="{Binding TileHeight}">
            <Image Source="{Binding Image}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="PlayListDataTemplate">
        <Grid Width="250">
        	<Grid.ColumnDefinitions>
        		<ColumnDefinition Width="Auto"/>
        		<ColumnDefinition Width="3*"/>
        		<ColumnDefinition/>
        	</Grid.ColumnDefinitions>
            <CheckBox Style="{StaticResource PlaylistPlayBtnCheckBoxStyle}" HorizontalAlignment="Center" Width="10" Height="10" Margin="0,0,10,0"/>
            <TextBlock Text="{Binding Title}" Foreground="#FF777777" FontWeight="Light" FontSize="11" TextTrimming="WordEllipsis" VerticalAlignment="Center" Grid.Column="1"/>
            <TextBlock Text="{Binding Subtitle}" Foreground="Black" FontWeight="Light" FontSize="10" TextTrimming="WordEllipsis" VerticalAlignment="Center" Grid.Column="2" HorizontalAlignment="Right"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="RecentTemplate">
        <Grid Width="96.50" Height="96">
            <Image Source="{Binding Image}" Stretch="UniformToFill"/>
        </Grid>
    </DataTemplate>

</ResourceDictionary>
